<%@ include file="/WEB-INF/pages/common/taglibs.jsp" %>
<%@ include file="/WEB-INF/pages/common/checkpermission.jsp" %>
<%@ include file="/WEB-INF/pages/cases/case1/checkCase1Permission.jsp" %>
<codelookup:codeCollection id="deptList" codeType="DEPT_LIST"/>
<codelookup:codeCollection id="ageList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="AGE_LIST"/>
<codelookup:codeCollection id="sexList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="SEX_LIST"/>
<codelookup:codeCollection id="educationList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="EDUCATION_LIST"/>
<codelookup:codeCollection id="rankList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="RANK_LIST"/>
<codelookup:codeCollection id="caseInvList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="CASE_INV_LIST"/>
<codelookup:codeCollection id="caseWorkPosList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="CASE_WORK_POS_LIST"/>
<codelookup:codeCollection id="caseWorkPos1List" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="CASE_WORK_POS_1_LIST"/>
<codelookup:codeCollection id="caseWorkPos2List" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="CASE_WORK_POS_2_LIST"/>
<codelookup:codeCollection id="caseWorkPos3List" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="CASE_WORK_POS_3_LIST"/>
<codelookup:codeCollection id="caseReasonList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="CASE_REASON_LIST"/>
<codelookup:codeCollection id="trueFalseList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="TRUE_FALSE_LIST"/>
<codelookup:codeCollection id="nationalityList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="NATIONALITY_LIST"/>
<codelookup:codeCollection id="poliList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="POLI_LIST"/>
<codelookup:codeCollection id="sourceList" codeType="CODE_TYPE" filterName="CODE_FILTER" filterParams="CASE_SOURCE_LIST"/>

<script type="text/javascript">
    function saveRecord() {
        if (validationMonitorForm('<s:text name="label.required.prefix"/>')) {
            var checkDate = true;
            if (checkDate) {
                if (!validateForm_number(document.getElementById("caseOneModel.caseAmount"))||
                   (document.getElementById("caseOneModel.caseAmount").value.indexOf(".")!=-1&&document.getElementById("caseOneModel.caseAmount").value.substring(document.getElementById("caseOneModel.caseAmount").value.indexOf(".")+1,document.getElementById("caseOneModel.caseAmount").value.length).length>2)) {
                    document.getElementById("caseOneModel.caseAmount").focus();
                    $(document.getElementById("caseOneModel.caseAmount")).parents("tr:first").find("td:first").addClass("showErrorClass");
                    alert('<s:text name="label.caseone.caseAmount"/>' + '<s:text name="number.format.error"/>');
                    return;
                }
                if (!validateForm_number(document.getElementById("caseOneModel.invAmount"))||
                   (document.getElementById("caseOneModel.invAmount").value.indexOf(".")!=-1&&document.getElementById("caseOneModel.invAmount").value.substring(document.getElementById("caseOneModel.invAmount").value.indexOf(".")+1,document.getElementById("caseOneModel.invAmount").value.length).length>2)) {
                    document.getElementById("caseOneModel.invAmount").focus();
                    $(document.getElementById("caseOneModel.invAmount")).parents("tr:first").find("td:first").addClass("showErrorClass");
                    alert('<s:text name="label.caseone.invAmount"/>' + '<s:text name="number.format.error"/>');
                    return;
                }
                if (!validateForm_number(document.getElementById("caseOneModel.judgeAmount"))||
                   (document.getElementById("caseOneModel.judgeAmount").value.indexOf(".")!=-1&&document.getElementById("caseOneModel.judgeAmount").value.substring(document.getElementById("caseOneModel.judgeAmount").value.indexOf(".")+1,document.getElementById("caseOneModel.judgeAmount").value.length).length>2)) {
                    document.getElementById("caseOneModel.judgeAmount").focus();
                    $(document.getElementById("caseOneModel.judgeAmount")).parents("tr:first").find("td:first").addClass("showErrorClass");
                    alert('<s:text name="label.caseone.judgeAmount"/>' + '<s:text name="number.format.error"/>');
                    return;
                }
                if (!validateForm_int(document.getElementById("caseOneModel.crimeCount"))) {
                    document.getElementById("caseOneModel.crimeCount").focus();
                    $(document.getElementById("caseOneModel.crimeCount")).parents("tr:first").find("td:first").addClass("showErrorClass");
                    alert('<s:text name="label.caseone.crimeCount"/>' + '<s:text name="number.format.error"/>');
                    return;
                }
                if(document.getElementById("caseOneModel.industry1").value=="1"){
                    document.getElementById("caseOneModel.industry2").value=document.getElementById("caseOneModel.industry3").value;
                }else if(document.getElementById("caseOneModel.industry1").value=="2"){
                    document.getElementById("caseOneModel.industry2").value=document.getElementById("caseOneModel.industry4").value;
                }else{
                    document.getElementById("caseOneModel.industry2").value=document.getElementById("caseOneModel.industry5").value;
                }
                submitForm("editForm", "save.action");
            }
        }
    }

    function cancelRecord() {
        submitForm("editForm", "search.action");
    }

    function setSecondLevel(){
        if(document.getElementById("caseOneModel.industry1").value=="1"){
            document.getElementById("industry3").style.display="";
            document.getElementById("industry4").style.display="none";
            document.getElementById("industry5").style.display="none";
        }else if(document.getElementById("caseOneModel.industry1").value=="2"){
            document.getElementById("industry3").style.display="none";
            document.getElementById("industry4").style.display="";
            document.getElementById("industry5").style.display="none";
        }else{
            document.getElementById("industry3").style.display="none";
            document.getElementById("industry4").style.display="none";
            document.getElementById("industry5").style.display="";
        }
    }
    

    function initialIndustry(){
        if(document.getElementById("caseOneModel.industry1").value=="1"){
            if(document.getElementById("caseOneModel.industry2").value!=""){
                document.getElementById("caseOneModel.industry3").value=document.getElementById("caseOneModel.industry2").value;
            }
        }else if(document.getElementById("caseOneModel.industry1").value=="2"){
            if(document.getElementById("caseOneModel.industry2").value!=""){
                document.getElementById("caseOneModel.industry4").value=document.getElementById("caseOneModel.industry2").value;
            }
        }else{
            if(document.getElementById("caseOneModel.industry2").value!=""){
                document.getElementById("caseOneModel.industry5").value=document.getElementById("caseOneModel.industry2").value;
            }
        }
    }

     function fclick(obj, objButton) {
       with (obj) {
           scrollTop = event.y - offsetHeight / 2
           style.posLeft = event.x - offsetWidth / 2
       }
   }

    function downloadAttach(recordName,recordType){
         var currentForm = document.forms["editForm"];
        currentForm.elements["caseOneModel.selectId"].value = recordName;
        currentForm.elements["caseOneModel.selectType"].value = recordType;
        submitForm("editForm", "download.action");
    }
</script>

<s:form name="editForm" action="" enctype="multipart/form-data">
<s:hidden name="caseOneModel.createId"/>
<s:hidden name="caseOneModel.createDt"/>
<s:hidden name="caseOneModel.caseOneId"/>
<s:hidden name="caseOneModel.selectId"/>
<s:hidden name="caseOneModel.selectType"/>
<s:hidden id="caseOneModel.industry2" name="caseOneModel.industry2"/>
<table align="center" cellpadding="0" cellspacing="0" class="body_content full_width">
    <tr>
        <td align="left" valign="bottom" class="main_page_content_icon" width="4%">
            <img src='<c:url value="/images/body-icon_check.gif"/>' width="29" height="44">
        </td>
        <td valign="bottom" class="page_title_bg" width="96%"><span class="page_title"><s:text
                name="label.case.select.title1"/></span></td>
    </tr>
    <tr>
        <td class="subcontent" colspan="2">&nbsp;</td>
    </tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="body_content full_width bordered">
    <tr class="section_title">
        <td class="section_title" colspan="3">
            <font size="5"><s:text name="label.add.caseone.section1"/></font></td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.name"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textfield name="caseOneModel.name" maxlength="100"/>

        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.sex"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.sexList" name="caseOneModel.sex" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.age"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.ageList" name="caseOneModel.age" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.nationality"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.nationalityList" name="caseOneModel.nationality" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.education"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.educationList" name="caseOneModel.education" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.deptId"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.deptList" name="caseOneModel.deptId" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.rank"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.rankList" name="caseOneModel.rank" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.poliStatus"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.poliList" name="caseOneModel.poliStatus" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.hndInd"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.trueFalseList" name="caseOneModel.hndInd" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.cppccInd"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.trueFalseList" name="caseOneModel.cppccInd" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.workPosition"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textarea name="caseOneModel.workPosition" cols="120" rows="10" onkeyup="checkTextAreaMaxLength(this,1000);"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.industry"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <table>
                <tr>
                    <td>
                        <s:select list="#attr.caseWorkPosList" id="caseOneModel.industry1" name="caseOneModel.industry1" listKey="codeId" listValue="codeDesc" onchange="setSecondLevel();"/>&nbsp;&nbsp;
                    </td>
                    <td>
                        <div id="industry3">
                            <s:select list="#attr.caseWorkPos1List" name="caseOneModel.industry3" listKey="codeId" listValue="codeDesc"/>
                        </div>
                        <div id="industry4">
                            <s:select list="#attr.caseWorkPos2List" name="caseOneModel.industry4" listKey="codeId" listValue="codeDesc"/>
                        </div>
                        <div id="industry5">
                            <s:select list="#attr.caseWorkPos3List" name="caseOneModel.industry5" listKey="codeId" listValue="codeDesc"/>
                        </div>
                    </td>
                </tr>
            </table>

        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.hotInd"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.trueFalseList" name="caseOneModel.hotInd" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    </table>
    <table border="0" align="center" cellpadding="0" cellspacing="0" class="body_content full_width bordered">
    <tr class="section_title">
        <td class="section_title" colspan="3">
            <font size="5"><s:text name="label.add.caseone.section2"/></font></td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.caseSource"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.sourceList" name="caseOneModel.caseSource" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.caseDate"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left" id="testtd">
            <monitor:date name="caseOneModel.caseDate"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.caseReason"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.caseReasonList" name="caseOneModel.caseReason" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.firstInvDate"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <monitor:date name="caseOneModel.firstInvDate"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.firstInvResult"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textfield name="caseOneModel.firstInvResult" maxlength="100"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.registerDate"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <monitor:date name="caseOneModel.registerDate"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.caseAmount"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textfield name="caseOneModel.caseAmount" id="caseOneModel.caseAmount" maxlength="18"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.invDate"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <monitor:date name="caseOneModel.invDate"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.invReason"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:select list="#attr.caseReasonList" name="caseOneModel.invReason" listKey="codeId" listValue="codeDesc"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.invAmount"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textfield name="caseOneModel.invAmount" id="caseOneModel.invAmount" maxlength="18"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.invResult"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textfield name="caseOneModel.invResult" maxlength="100"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.sueDate"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <monitor:date name="caseOneModel.sueDate"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.prosDate"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <monitor:date name="caseOneModel.prosDate"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.judgeDate"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <monitor:date name="caseOneModel.judgeDate"/>
        </td>
    </tr>
    </table>
    <table border="0" align="center" cellpadding="0" cellspacing="0" class="body_content full_width bordered">
    <tr class="section_title">
        <td class="section_title" colspan="3">
            <font size="5"><s:text name="label.add.caseone.section3"/></font></td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.judgeAccusal"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textfield name="caseOneModel.judgeAccusal" maxlength="100"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.judgeAmount"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textfield name="caseOneModel.judgeAmount" maxlength="18" id="caseOneModel.judgeAmount"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.judgePenalty"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textarea name="caseOneModel.judgePenalty" cols="120" rows="10" onkeyup="checkTextAreaMaxLength(this,1000);"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.judgeResult"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textarea name="caseOneModel.judgeResult" cols="120" rows="10" onkeyup="checkTextAreaMaxLength(this,1000);"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.firstCrimeDate"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <monitor:date name="caseOneModel.firstCrimeDate"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.lastCrimeDate"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <monitor:date name="caseOneModel.lastCrimeDate"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.crimeCount"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textfield name="caseOneModel.crimeCount" id="caseOneModel.crimeCount" maxlength="5"/>
        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.crimeMethod"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textarea name="caseOneModel.crimeMethod" cols="120" rows="10" onkeyup="checkTextAreaMaxLength(this,1000);"/>
        </td>
    </tr>
    <tr class="even">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.ariseSegment"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textarea name="caseOneModel.ariseSegment" cols="120" rows="10" onkeyup="checkTextAreaMaxLength(this,1000);"/>

        </td>
    </tr>
    <tr class="odd">
        <td class="form_label_padded" width="10%" nowrap><s:text name="label.caseone.ariseReason"/></td>
        <td class="form_label_padded" width="2%">:</td>
        <td class="txtData" align="left">
            <s:textarea name="caseOneModel.ariseReason" cols="120" rows="10" onkeyup="checkTextAreaMaxLength(this,1000);"/>
        </td>
    </tr>
    <s:if test="caseOneModel.upload1FileName!=null">
        <tr class="even">
            <td class="form_label_padded" width="10%" nowrap><s:text name="label.attachment"/></td>
            <td class="form_label_padded" width="2%">:</td>
            <td class="txtData" align="left">
                 <a href="javascript:downloadAttach('<s:property value="caseOneModel.caseOneId"/>','1')">
                    <s:property value="caseOneModel.upload1FileName"/>
                 </a>
            </td>
        </tr>
        </s:if>
        <tr class="even">
            <td class="form_label_padded" width="10%" nowrap><s:text name="label.publish.content"/></td>
            <td class="form_label_padded" width="2%">:</td>
            <td class="txtData" align="left">
                    <input id="f_file1" readonly="true">&nbsp;<input type="button" onmouseover="fclick(t_file1,this)"
                                                                value="<s:text name='label.browse'/>" class="button">
                    <s:file name="caseOneModel.upload1" contentEditable="false" style="position:absolute;filter:alpha(opacity=0);width:30px;" id="t_file1"
                                       onchange="f_file1.value=this.value" />
            </td>
        </tr>
        <s:if test="caseOneModel.upload2FileName!=null">
        <tr class="odd">
            <td class="form_label_padded" width="10%" nowrap><s:text name="label.attachment"/></td>
            <td class="form_label_padded" width="2%">:</td>
            <td class="txtData" align="left">
                 <a href="javascript:downloadAttach('<s:property value="caseOneModel.caseOneId"/>','2')">
                    <s:property value="caseOneModel.upload2FileName"/>
                 </a>
            </td>
        </tr>
        </s:if>
        <tr class="odd">
            <td class="form_label_padded" width="10%" nowrap><s:text name="label.feedback.content"/></td>
            <td class="form_label_padded" width="2%">:</td>
            <td class="txtData" align="left">
                    <input id="f_file2" readonly="true">&nbsp;<input type="button" onmouseover="fclick(t_file2,this)"
                                                                value="<s:text name='label.browse'/>" class="button">
                    <s:file name="caseOneModel.upload2" contentEditable="false" style="position:absolute;filter:alpha(opacity=0);width:30px;" id="t_file2"
                                       onchange="f_file2.value=this.value" />
            </td>
        </tr>

</table>
<table>
    <tr>
        <td class="txtData" colspan="3">
            <input type="button" class="button" value="<s:text name='label.save'/>" onclick="saveRecord();">
            <input type="button" class="button" value="<s:text name='label.back'/>" onclick="cancelRecord();">
        </td>
    </tr>
</table>
<script type="text/javascript">
    setSecondLevel();
    initialIndustry();
</script>
</s:form>



